package br.com.basili.dao;

import java.util.ArrayList;
import java.util.List;

import br.com.basili.entity.Researcher;

public class ResearcherDAO extends GenericDAO<Researcher> {
	
	public List<Researcher> getListResearcher() {
		List<Researcher> list = new ArrayList<Researcher>();
		try{
			list = super.getListaModel("from Researcher");
		}catch( Exception e ){
			e.getMessage();
		}
		return list;
	}
	
	public Researcher getResearcherPorCodigo(int codigo) throws Exception{
		return super.getPorCodigo(codigo);
	}
}
